#pragma once

#ifndef __ProcessBar_H
#define __ProcessBar_H

#include <iostream>
#include <string.h>

class ProcessBar
{
public:
	//加载进度0--1
	double _rote = 0.0;

	ProcessBar(int len = 10, double rote = 0.0, char show = '#');
	ProcessBar(const ProcessBar& sour);

	ProcessBar& operator=(const ProcessBar& sour);
	
	void operator=(double rote);

	void BarShow();

	~ProcessBar();

private:
	const int _Len;
	char* Bar;
	char _show;
};

#endif
